﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MySql.Data.MySqlClient;

/// <summary>
/// Summary description for Class1
/// </summary>
public class Class1
{

    public static MySqlConnection GetConnection()
    {
        string connStr = String.Format("server=localhost;User Id=root; password=1234;Persist Security Info=True;port=3307;database=testandroidapp");


        MySql.Data.MySqlClient.MySqlConnection mycon = new MySqlConnection(connStr);
        return mycon;
    }

}